
# 提取目录名，只编译目录名.c
FILE_NAME := $(notdir $(shell pwd))
all: 
	$(CC) -Wall $(MyIncludePath_MAIN) -c $(FILE_NAME).c -o $(MY_MAIN_LINUXOBJ)/$(FILE_NAME).o
	@echo -e $(MY_SUCCESS)
	@echo "$(shell pwd) :  all Success"
	@echo -e $(AC_NULL)		
	
clean:
	rm -f $(MY_MAIN_LINUXOBJ)/$(FILE_NAME).o
	@echo -e $(MY_SUCCESS)
	@echo "$(shell pwd) : clean Success"
	@echo -e $(AC_NULL)	
	
